using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class UIMissionItemRender : MonoBehaviour
{
    public Image imgIcon;

    public void SetData(string id)
    {
        imgIcon.sprite = Resources.Load<Sprite>("Icon/" + id);
        gameObject.SetActive(true);
    }

}
